
import request from "@/utils/request";
class LogAPI {
  /*     获取权限列表     */
  static getList (params) {
    return request({
      url: "/api/admin/admin-logs",
      method: "GET",
      params
    });
  }
  /*     获取    */
  static get (id) {
    return request({
      url: `/api/admin/admin-logs/${id}`,
      method: "GET",
    });
  }
  /*     删除     */
  static del (data) {
    return request({
      url: `/api/admin/admin-logs/${data.id}`,
      method: "DELETE",
    });
  }
}
export default LogAPI;